package com.bxait.toymail.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bxait.com.utils.PageUtils;
import com.bxait.com.vo.ware.MergeVo;
import com.bxait.com.vo.ware.PurchaseDoneVo;
import com.bxait.toymail.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author chen
 * @email 2277411582@qq.com
 * @date 2023-03-13 22:41:32
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    // 合并采购项
    void mergePurchase(MergeVo mergeVo);

    // 查询未领取的采购单
    PageUtils queryPageUnrReceivePurchase(Map<String, Object> params);

    // 领取采购单
    void received(List<Long> ids);

    // 完成采购
    void done(PurchaseDoneVo doneVo);
}

